<%@page import="com.ecp.commons.bean.Column"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page import="java.util.*"%>
<!--站点工具条-->
<!-- <script type="text/javascript">
	function out(){
		_czc.push(["_deleteCustomVar","是否登录"]);
	}
	function pzSearch(event){
		if(event.keyCode==13) {
			_czc.push(["_trackEvent", "品质网", "搜索商品", document.getElementById("pzSearch").value]);
		}
	}
</script> -->
<div class="site-nav-main">
	<div class="site-nav-bd">
		<ul class="site-nav clearfix">
			<li id="loginInfo"></li>
			<li><a href="http://www.pinzhi365.com/vipCenter/centerIndex.do" id="user-account">我的品质</a></li>
			<li class="J_Popup popup">客户服务<span
				class="arrow-u-d arrow-switch"></span>
				<div class="pop-content help-center">
					<a href="http://www.pinzhi365.com/helpCenter.do" target="_blank">帮助中心</a> <a
						href="http://www.pinzhi365.com/downLoadCenter/index.do" target="_blank">下载中心</a>
				</div>
			</li>
			<li class="popup weibo"><a href="http://weibo.com/3517862222"
				target="_blank" class="arrow-u-d" title="关注品质365微博"></a></li>
			<li class="J_Popup popup weixin"><span class="arrow-u-d"
				title="关注品质365微信"></span>
				<div class="pop-content QR-box">
					<img src="/front/images/static/site_QR.jpg" width="100"
						height="100" onerror="this.src='/front/images/replace200.jpg'">
				</div></li>
		</ul>
	</div>
</div>
<!--logo 搜索 shopcart-->
<script>
//异步登陆
seajs.use("/front/js/DynamicLgoinInfo.js");
</script>
<%
 	if(!"yes".equals(request.getAttribute("isMini"))){
 %>
<div class="logo-search-main">
	<div class="logo-search-bd">
		<h1>
			<a href="/">品质网,品质365,品质商城</a>
		</h1>
		<div id="J_SearchTips" class="site-search-box">
			<div class="search-area">
				<input type="text" class="search-input" data-value="${keyword==null?hotKeyword:keyword}" 
					autocomplete="off" value="${keyword==null?hotKeyword:keyword}" x-webkit-speech="" id = "pzSearch"
					x-webkit-grammar="builtin:search" onkeypress="pzSearch(event)"> <input type="button"
					class="search-button" value="" onclick='_czc.push(["_trackEvent", "品质网", "搜索商品", document.getElementById("pzSearch").value]);'>
			</div>
			<dl class="search-keyword clearfix">
			</dl>
			<!--搜索提示-->
			<div class="search-tips-box">
				<ul class="search-keyword-list">
				</ul>
				<div class="close-search-box-btn">关闭</div>
			</div>
		</div>
	</div>
</div>
<!-- 分类栏开始 -->
<%
String isIndex=(String)request.getAttribute("isIndex");
%>
<div class="nav-bar-main<%="yes".equals(isIndex)?" home-nav":"" %>">
	<div class="nav-bar-bd">
		<!--当不是首页的时候就去掉data-role!=home-->
		<div id="J_SlideCategory"
			<%="yes".equals(isIndex)?"data-role='home'":"" %>
			class="nav-category">
			<h2>全部商品分类</h2>
			<!--当不是首页的时候就去掉nav-category-menu-show-->
			<div
				class="nav-category-menu <%="yes".equals(isIndex)?"nav-category-menu-show":"" %>">
			</div>
		</div>
		<!--导航-->
		<nav class="nav-bar">
			<ul class="clearfix">
				<li><a ${param.selectOption==1?"class=\"actived\"":""  }
					href="/" data-role="nav">首页</a></li>
				<li><a ${param.selectOption==2?"class=\"actived\"":"" }
					href="http://www.pinzhi365.com/saleActiveNewIndex.do" data-role="nav">新品快报</a></li>
				<li><a ${param.selectOption==4?"class=\"actived\"":"" }
					href="http://www.pinzhi365.com/giftNewindex.do" data-role="nav">顺丰专区</a></li>
				<li><a ${param.selectOption==5?"class=\"actived\"":"" }
					href="http://www.pinzhi365.com/vipRegion/index.do" data-role="nav">VIP专区</a></li>
				<li><a ${param.selectOption==9?"class=\"actived\"":"" }
					href="http://www.pinzhiquanqiu.com/" data-role="nav">品质全球</a></li>
					<!-- 
				<li><a ${param.selectOption==6?"class=\"actived\"":"" }
					href="http://yyg.pinzhi365.com" data-role="nav">品质一元购</a></li>
					 -->
				<c:if test="${displayLimitBuyCol == 1}">
					<li><a ${param.selectOption==7?"class=\"actived\"":"" }
					href="http://www.pinzhi365.com/cms/limitbuy/index.do" data-role="nav">秒杀</a></li>
				</c:if>
				<li><a ${param.selectOption==8?"class=\"actived\"":"" }
				href="http://www.pinzhi365.com/hotel/hotelIndex.do" data-role="nav">酒店</a></li>
				 <li><a ${param.selectOption==6?"class=\"actived\"":"" }
					href="http://www.pinzhi365.com/flag/index.do" data-role="nav">旗舰店</a></li>
					<%--
				<li><a ${param.selectOption==7?"class=\"actived\"":"" }
					href="/staticPage.do?cid=146514" data-role="nav">年货盘点</a></li> --%>
			</ul>
		</nav>
	</div>
</div>
<!-- 分类栏结束 -->
<div style="display:none;" id="headerConfig" data-isVip="${param.isVip }"></div>
<!-- 头部公用JS文件 -->
<script type="text/javascript" src="/front/js/common.js"></script>
<%		
 	}else{
 		if(!"yes".equals(request.getAttribute("loadDown"))){
 			%>
<div class="site-mini">
	<div class="site-mini-bd">
		<h1>
			<a href="/index.do">品质网,品质365,品质商城</a>
		</h1>
	</div>
</div>
<%
 		}else{
 			
 		}
%>

<script type="text/javascript">
	//顶层工具栏弹窗
	seajs.use("/front/js/site-popup.js");
</script>
<% 
 	}
%>
